package com.william.yun.yunliwuli.service;

import com.alibaba.fastjson.JSONObject;
import com.william.yun.yunliwuli.constant.YunliwuliConstant;

/**
 * 门店
 */
public interface StoreService {
    String STORE_URL = YunliwuliConstant.URI + "/V2/pub/store/query";
    String STORE_ADD_URL = YunliwuliConstant.URI + "/V2/pub/store/add";

    /**
     * 门店查询
     * @param body
     * @param token
     * @return
     */
    JSONObject postStoreQuery(JSONObject body, String token);

    /**
     * 添加门店
     * @param body
     * @param token
     * @return
     */
    JSONObject postStoreAdd(JSONObject body, String token);

}
